﻿namespace com.crownpack.Exceptions.SharePointExceptions
{
    using System;

    [Serializable]
    public class ListNotFoundException : Exception
    {
        #region Constructors

        public ListNotFoundException( )
            : base("The specified list was not found.")
        {
        }

        public ListNotFoundException( string listName, string url )
            : base(string.Format( "The specified list '{0}' was not found at '{1}'.", listName, url ))
        {
        }

        #endregion Constructors
    }
}